import request from '@/utils/request'

// 查询工序报验资料(工序报验的子表)列表
export function listBsProcessInspectionInfo(query) {
  return request({
    url: '/cm/bsProcessInspectionInfo/list',
    method: 'get',
    params: query
  })
}

// 查询工序报验资料(工序报验的子表)详细
export function getBsProcessInspectionInfo(id) {
  return request({
    url: '/cm/bsProcessInspectionInfo/' + id,
    method: 'get'
  })
}

// 新增工序报验资料(工序报验的子表)
export function addBsProcessInspectionInfo(data) {
  return request({
    url: '/cm/bsProcessInspectionInfo',
    method: 'post',
    data: data
  })
}

// 修改工序报验资料(工序报验的子表)
export function updateBsProcessInspectionInfo(data) {
  return request({
    url: '/cm/bsProcessInspectionInfo',
    method: 'put',
    data: data
  })
}

// 删除工序报验资料(工序报验的子表)
export function delBsProcessInspectionInfo(id) {
  return request({
    url: '/cm/bsProcessInspectionInfo/' + id,
    method: 'delete'
  })
}
